﻿using System;
using System.Configuration;

namespace JZ.JiangSu.Model.Entity
{
    public partial class CompanyInfo : BaseEntity
    {
        //实体类的构造函数
        public CompanyInfo()
        {
            var defaultLogo = ConfigurationManager.AppSettings["UserRegDefaultImg"];
            Map = string.Empty;
            KeyWord = string.Empty;
            Reason = string.Empty;
            Remark = string.Empty;
            ForShort = string.Empty;
            LicenseUrl = string.Empty;
            IsBroker = false;
            IsLicensed = false;
            Map = string.Empty;
            CreateTime = DateTime.Now;
            UpdateTime = DateTime.Now;
            Logo = string.IsNullOrWhiteSpace(defaultLogo) ? "/Images/wzp.gif" : defaultLogo;
        }

        ///<summary>公司全称,长度限制:32</summary>
        public string Name { get; set; }

        ///<summary>是不是猎头</summary>
        public bool IsBroker { get; set; }

        ///<summary>营业执照上传地址,默认值:"/Images/wzp.gif"</summary>
        public string LicenseUrl { get; set; }

        ///<summary>公司所在地详细细致,长度限制:128</summary>
        public string Address { get; set; }

        ///<summary>公司标志,长度限制:512</summary>
        public string Logo { get; set; }

        ///<summary>公司详细说明,长度限制:2048</summary>
        public string Content { get; set; }

        ///<summary>公司主页,长度限制128</summary>
        public string Homepage { get; set; }

        ///<summary>营业执照是否已验证</summary>
        public bool IsLicensed { get; set; }

        ///<summary>用户ID</summary>
        public int ID { get; set; }

        ///<summary>规模</summary>
        public int Scale { get; set; }

        ///<summary>类型</summary>
        public int Type { get; set; }

        ///<summary>地图</summary>
        public string Map { get; set; }

        ///<summary>简历余额</summary>
        public int DownloadableResumCount { get; set; }

        public string KeyWord { get; set; }
        public int RowState { get; set; }

        ///<summary>创建时间</summary>
        public DateTime CreateTime { get; set; }

        ///<summary>更新时间</summary>
        public DateTime UpdateTime { get; set; }

        public string Remark { get; set; }

        ///<summary></summary>
        public string Reason { get; set; }

        public int TempleteId { get; set; }

        public string ForShort { get; set; }
    }


}